home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 009 / flight.txt < prev    next >
Text File  |  1983-11-07  |  2KB  |  105 lines

  1.  
  2.  
  3. Capture Buffer Transfer
  4. No error detection/correction
  5.  
  6. Opening capture buffer...
  7.         Flight Simulator RGB Modifications
  8.  
  9.                 By: Andrew Tuline
  10.  
  11.                 CIS: 70465,1223
  12.  
  13.         The modifications included herein will allow an RGB
  14. monitor to show some colours using the Flight Simulator program.
  15. This modification is not perfect, nor is is very well tested.
  16. The user should make a copy of their Flight Simulator program
  17. using their favourite technique. As we know even the most
  18. obvious methods may elude us. Anyways, one of the bugs is, when
  19. the user enters the slew mode, the modifications are nullified.
  20. Basically, the technique is to intercept the disk vector and
  21. setup a port for the colour display adapter for the needed
  22. values. I certainly hope, that by disclosing this technique,
  23. Microsoft doesn't skin my hide. Anyways to modify your extra
  24. spare disk, boot up debug in DOS 2.0 and type the following:
  25.  
  26. Note: you need a system with at least 96K to use this
  27. modification as is. 
  28.  
  29. l cs:0 0 0 1
  30. a 0
  31. mov     ax,201
  32. mov     dx,0
  33. mov     cl,2
  34. mov     ch,27
  35. mov     bx,1000
  36. mov     es,bx
  37. xor     bx,bx
  38. int     13
  39. jmp     1000:0
  40. w cs:0 0 0 1
  41.  
  42.  
  43.  
  44. l cs:0 0 139 1
  45. a 0
  46. push    cs
  47. pop     ds
  48. mov     ax,0
  49. mov     es,ax
  50. es:
  51. mov     ax,[4c]
  52. mov     [70],ax
  53. es:
  54. mov     ax,[4e]
  55. mov     [72],ax
  56. mov     ax,48
  57. es:
  58. mov     [4c],ax
  59. es:
  60. mov     [4e],cs
  61. cli
  62. xor     ax,ax
  63. mov     ds,ax
  64. mov     es,ax
  65. mov     ss,ax
  66. mov     sp,c0b0
  67. mov     cx,200
  68. mov     si,7c00
  69. mov     di,500
  70. sti
  71. repz
  72. movsb
  73. jmp     0:7c18
  74.  
  75.  
  76. a 48
  77. pushf
  78. push    cs
  79. cs:
  80. mov     [74],ax
  81. mov     ax,5b
  82. push    ax
  83. cs:
  84. mov     ax,[74]
  85. jmp     F000:EC59  <- this is also saved at 1000:0070
  86. pushf
  87. push    ax
  88. push    dx
  89. mov     dx,3d8
  90. mov     al,0a
  91. out     dx,al
  92. inc     dx
  93. mov     al,20
  94. out     dx,al
  95. pop     dx
  96. pop     ax
  97. popf
  98. iret
  99. w cs:0 0 139 1
  100.  
  101.  
  102. The value 20 a couple of lines up sets up the colours for low
  103. intensity cyan/magenta/white. Good luck, and may the colours
  104. be with you.
  105. lllllllllllll